package com.ly.ssm.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * EMPLOYEES
 * @author 
 */
@Data
public class Employees implements Serializable {
    /**
     * Primary key of employees table.
     */
    private Integer employeeId;

    /**
     * First name of the employee. A not null column.
     */
    private String firstName;

    /**
     * Last name of the employee. A not null column.
     */
    private String lastName;

    /**
     * Email id of the employee
     */
    private String email;

    /**
     * Phone number of the employee; includes country code and area code
     */
    private String phoneNumber;

    /**
     * Date when the employee started on this job. A not null column.
     */
    private Date hireDate;

    /**
     * Current job of the employee; foreign key to job_id column of the
jobs table. A not null column.
     */
    private String jobId;

    /**
     * Monthly salary of the employee. Must be greater
than zero (enforced by constraint emp_salary_min)
     */
    private BigDecimal salary;

    /**
     * Commission percentage of the employee; Only employees in sales
department elgible for commission percentage
     */
    private BigDecimal commissionPct;

    /**
     * Manager id of the employee; has same domain as manager_id in
departments table. Foreign key to employee_id column of employees table.
(useful for reflexive joins and CONNECT BY query)
     */
    private Integer managerId;

    /**
     * Department id where employee works; foreign key to department_id
column of the departments table
     */
    private Short departmentId;

    private static final long serialVersionUID = 1L;
}